]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
userMenu: Fix 'Lock' lockdown setting
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 10 May 2012 11:15:03 +0000 (13:15 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 10 May 2012 13:23:13 +0000 (15:23 +0200)
Oops, embarrassing typo ...

https://bugzilla.gnome.org/show_bug.cgi?id=675802

js/ui/userMenu.js

index 01b4702a594358313a4091ea0fe0a8934a64663b..5ae4ae6d66c133c255e55305c38283d8551d28a4 100644 (file)
@@ -559,7 +559,7 @@ const UserMenuButton = new Lang.Class({
 
     _updateLockScreen: function() {
         let allowLockScreen = !this._lockdownSettings.get_boolean(DISABLE_LOCK_SCREEN_KEY);
-        this._logoutItem.actor.visible = allowLockScreen;
+        this._lockScreenItem.actor.visible = allowLockScreen;
     },
 
     _updateHaveShutdown: function() {